package test;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class InputHandler {

    
    /**
     * Convert string input to int 
     * @return int 
     */
    
    public static int getInput(){
	
	String input = "";
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	try { 
	    input = br.readLine();} 
	catch (IOException e) { System.exit(1);	}

	return Integer.parseInt(input);
    }
	
}
